package com.bby.disk.bean.vo;

import com.bby.disk.manager.virtual.VirtualDirectory;
import com.bby.disk.manager.virtual.VirtualObject;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class VirtualFileList {
    VirtualDirectory parent;
    List<VirtualObject> list;

    public VirtualFileList(VirtualDirectory parent, List<VirtualObject> list) {
        this.parent = parent;
        this.list = list;
    }

    public VirtualFileList(VirtualDirectory parent) {
        this.parent = parent;
        list = new ArrayList<>();
    }
}
